<p class="breadcrumbs"><strong>You are here:</strong> &raquo; <a href="<?php echo $gene_uri ?>"><?php _e($gene_name) ?></a> &raquo; <a href="<?php echo Gene::makeLink(Gene::specialId('Settings')) ?>">Settings</a> &raquo; Change E-Mail Address</p>

<h2>Change E-Mail Address</h2>

<?php if ($success): ?>
	<p><strong>Your request to change your e-mail address has been recieved.</strong></p>
	
	<p>We have sent an e-mail to <?php _e($newemail) ?>. The e-mail will have instructions on how to complete the process of changing your e-mail address. You must confirm the request to change your e-mail address within 7 days.</p>
	
	<p><strong>Your e-mail address in our records will not be updated until you confirm the request.</strong></p>
	
	<ul>
	<li><a href="<?php echo Gene::makeLink(Gene::specialId('Settings')) ?>">Settings</a></li>
	</ul>
<?php else: ?>

	<?php if ($errormsg): ?>
		<p class="errormessage"><?php _e($errormsg) ?></p>
	<?php endif; ?>
	
	<p>Your e-mail address is used for password recovery and important announcements. Please ensure your e-mail address is up to date.</p>
	
	<form method="post" action="<?php echo Gene::makeLink(Gene::specialId('Settings')) ?>/email">
	
	<p><strong>Current E-Mail Address:</strong><br /><?php _e($email) ?></p>
	<p><label for="newemail1"><strong>Enter your new e-mail address:</strong></label><br /><input type="text" class="required" id="newemail1" name="newemail1" /></p>
	<p><label for="newemail2"><strong>Confirm new e-mail address by typing again:</strong></label><br /><input type="text" class="required" name="newemail2" id="newemail2" /></p>
	
	<p>For security reasons, please enter your password to confirm that you wish to change your e-mail address.</p>
	
	<p><label for="password"><strong>Enter your password:</strong></label><br /><input type="password" class="required" name="password" id="password" /><br /></p>
	
	<p class="formcontrols"><input type="submit" value="Change E-Mail Address" class="btn_focus" /></p>
	</form>
<?php endif; ?>
